﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EIA.PM.Model;
using System.Collections;

namespace EIA.PM.BLL
{
    public interface ITRightBlp
    {
        int Insert(TRight o);
        IList<int> InsertList(IList<TRight> lst);
        bool Update(TRight o);
        bool UpdateChanged(IDictionary props);
        bool UpdateList(IList<TRight> lst);
        bool Delete(int o_id);
        bool DeleteList(IList<TRight> lst);
        int Count(IDictionary con);
        IList<TRight> List(IDictionary con);
        IList<TRight> ListAll();
    }
}
